package com.easy.frame.base.basic.constant;

/**
 * 数据库常量
 *
 * @author zzf
 * @date 2020/12/15 14:45
 */
public class DbConstants {

    /**
     * 默认 否
     */
    public static final Integer DEFAULT_NO = 0;
    /**
     * 默认 是
     */
    public static final Integer DEFAULT_YES = 1;
    /**
     * 超级管理员标记
     */
    public static final Integer SUPPER_ADMIN = 3;

    /**
     * 供应商标记
     */
    public static final Integer TENANT_SUPPLIER = 3;

    /**
     * 语言 中文
     */
    public static final int LANGUAGE_CN = 1;
    /**
     * 语言 繁体
     */
    public static final int LANGUAGE_FT = 2;
    /**
     * 语言 英语
     */
    public static final int LANGUAGE_EN = 3;
    /**
     * 员工状态 正常
     */
    public static final Integer STAFF_STATUS_NORMAL = 1;
    /**
     * 员工状态 过期
     */
    public static final Integer STAFF_STATUS_EXPIRED = 2;
    /**
     * 员工状态 禁用
     */
    public static final Integer STAFF_STATUS_DISABLED = 3;

    /**
     * 树结构层级为1
     */
    public static final Integer NODE_LEVEL_ONE = 1;
    /**
     * 树结构层级为2
     */
    public static final Integer NODE_LEVEL_TWO = 2;
    /**
     * 最高层级树的路劲
     */
    public static final String HIGH_LEVEL_PATH = "0001";

    /**
     * 系统后台最高层级树的路劲
     */
    public static final String SYS_HIGH_LEVEL_PATH = "0005";


    /**
     * 默认 否
     */
    public static final Integer REFRESH_DONE = 201;
    /**
     * 默认 是
     */
    public static final Integer REFRESH_RE = 200;


    /**
     * RabbitMQ异常消息保存消息字段长度
     */
    public static final Integer EXCEPTION_LENGTH = 500;
    public static final Integer EXCEPTION_LENGTH_START = 0;
}
